import 'package:equatable/equatable.dart';
import 'package:backend.core/core/domain/entities/api/google_play/api_google_play_transaction_revocation_reason.dart';
import 'package:backend.core/core/domain/entities/api/google_play/api_google_play_transaction_revocation_source.dart';

class ApiGooglePlayTransactionRevocationInfo extends Equatable {
  const ApiGooglePlayTransactionRevocationInfo({
    required this.source,
    required this.reason,
    required this.time,
  });

  final ApiGooglePlayTransactionRevocationSource source;
  final ApiGooglePlayTransactionRevocationReason reason;
  final DateTime time;

  @override
  List<Object?> get props {
    return [
      source,
      reason,
      time,
    ];
  }
}
